
/***
 * 执行 dart run build_runner build 生成.g.dart文件
 */

import 'package:json_annotation/json_annotation.dart';

part 'base_model.g.dart';

@JsonSerializable()
class BaseModel {

  late int? errorCode;
  late String? errorMsg;

  int? status;
  String? msg;


  BaseModel({this.errorCode, this.errorMsg, this.status, this.msg});

  factory BaseModel.fromJson(Map<String, dynamic> json) =>
      _$BaseModelFromJson(json);

  Map<String, dynamic> toJson() => _$BaseModelToJson(this);
}
